const Router = require("koa-router");
const { getCourse, getBook } = require("../controller/browse-controller");
const { verifyUser } = require("../middleware/user-middleware");
const browseRouter = new Router({
  prefix: "/browse",
});

browseRouter.get("/book", verifyUser, getBook);
browseRouter.get("/course", verifyUser, getCourse);

module.exports = browseRouter;
